<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    {% if title %}
    <title>{{title}} blog</title>
    {% else %}
    <title>welcome to blog</title>
    {% endif %}
</head>
<body>
<div>Blog:
    <a href="index">home</a>
    <a href="login">login</a>
</div>
<hr>
{% block content %}{% endblock%}
</body>
</html>